{% extends "main.html" %} 
{% block title %}{% endblock %}
{% block blog %}
    {% for post in posts%}                 
    <div class="post"> 
      <h2><a class="title" href="{{post.full_permalink}}" rel="bookmark">{{post.title}}{%if post.private%}--private{%endif%}</a></h2>
      <div class="info">
				<span class="date">{{post.date|timezone:8|date:"l, M d H:i, Y"}}</span>
				<div class="act">
					<span class="comments">{{post.commentcount}} comments/{{post.hitcount}} hits</span>
				  <div class="fixed"></div>
				</div>
				<div class="fixed"></div>
			</div>
      <div class="content">{{post.content}}</div>
      <div class="under">
				<span class="author">Author: </span><span>{{post.author}}</span>
				<span class="categories">Categories: </span>
				<span><a href="/category/{{post.catalog|unquote}}" rel="category tag">{{post.catalog|unquote}}</a></span>
				<span class="tags">Tags: </span>{% if post.tags %}        
        <span>
          {% for tag in post.tags %}
          <a href="/tag/{{tag|unquote}}">{{ tag|unquote }}</a>{% if not forloop.last %},&nbsp;{% endif %}
          {% endfor %}        
        </span>
        {% endif %}      	
			</div>
		</div>    
    {% endfor %}     
    <div id="pagenavi">
		<span class="newer" {%if not pnewer%}style="visibility:hidden"{%endif%}><a href="/page/{{pnewer}}">Newer </a></span>		
		<span class="older" {%if not polder%}style="visibility:hidden"{%endif%}><a href="/page/{{polder}}">Older </a></span>
		<div class="mid">page: {{page}}, &nbsp; item: {{count}}</div>
		<div class="fixed"></div>
   </div>
{% endblock %}  